FROM hub.oepkgs.net/neocopilot/sandbox_base:0.10.1-arm

ENV PYTHONPATH=/app
ENV PYTHONUNBUFFERED=1

# 复制应用代码
COPY --chmod=755 ./ /app/
RUN chmod 755 /root

# 设置工作目录
WORKDIR /app

# 暴露端口
EXPOSE 8000

# 启动命令
CMD ["python3", "start_service.py", "--host", "0.0.0.0", "--port", "8000"]
